package com.yiboshi.rehrs.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author local
 * @since 2025-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ZhongUser extends IdEntity {

    private static final long serialVersionUID = -12334759254345L;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "VIP过期时间",position = 1)
    private LocalDateTime vipExpDate;

    /**
     * 0蚂蚁 1蓝精灵 2大象 3金蛇 4小飞
     */
    private Integer mode;

    /**
     * 登录账号
     */
    @ApiModelProperty(value = "登录账号",position = 10)
    private String account;

    @TableField(exist = false)
    @ApiModelProperty(value = "当前token",position = 20)
    private String token;



    @ApiModelProperty(value = "姓名",position = 30)
    private String fullname;

    String imei;

    String androidId;

    String padId;
    @ApiModelProperty(value = "电话",position = 40)
    String telephone;

    String orgLongitude;
    String orgLatitude;

    String orgNo;

    @ApiModelProperty(value = "部门",position = 50)
    String simpleNameCn;

    @ApiModelProperty(value = "自动预约0否 1是",position = 100 )
    Integer autoStatus;
    @ApiModelProperty(value = "登记ip",position = 200 ,hidden = true)
    String initIp;
    //Integer type;

    @TableField(exist = false)
    @ApiModelProperty(value = "几天后到期",position = 200)
    Integer days;

    Long deleted;


    @ApiModelProperty(value = "代理",position = 200)
    String agentAccount;
    //自动约配置:0-不开启、1-自动约全部、2-只约1和8
    Integer autoTaskType;

    @ApiModelProperty(value = "邀请码",position = 200)
    String userCode;


    @TableField(exist = false)
    @ApiModelProperty(value = "替班信息",position = 200)
    String substitutionOrgListString;
    @TableField(exist = false)
    @ApiModelProperty(value = "VIP过期时间",position = 1)
    private String vipExpDateStr;


}
